var tl1 = 'zje';
console.log("type1：", tl1);
var tl2 = false;
console.log("type2：", tl2);
var tl3 = {
    name: 'Tom',
    age: 23
};
console.log("type3：", tl3, '\n');
// type p1 extends people1 ={height:number} 编译错误
var pl = {
    name: 'Jack',
    age: 24,
    height: 185
};
console.log('继承显示: ', pl, '\n');
var pl2 = {
    name: ' Zoom',
    age: 23,
    height: 175
};
console.log("交叉显示：", pl2, '\n');
// 断言：as
var e1 = 45.562;
console.log('通过断言保留两位小数：', e1.toFixed(2), '\n');
e1 = 'Zhem';
console.log('通过断言输出大写: ', e1.toUpperCase());
